<template>
	<view>
		<view style= "padding-bottom: 20rpx; background:linear-gradient(#FE8761,#F7AC58);border-radius: 20rpx;width: 600rpx;">
			<view  style="padding: 20rpx 0; width: 300px;margin: auto; text-align: center; color: #D75F3F;background:#FEF7EB ;border-radius: 0 0 20rpx  20rpx">超值会员充值</view>
			
			<view  v-for="(item,index) in list" :key="index" style="background: #F9D9A8;width: 80%;
			text-align: center;color: #B45D37;margin:20rpx auto;padding:10rpx 0 ;">
				冲{{item.money}}送{{item.saleMoney}}
			</view>
			
			
			<button @click="$Go('/pages/my/charge?id='+sid)" style="background: linear-gradient(#FDDF39,#F6A501);color: #B56713;border-radius: 200rpx;margin:20rpx auto;width: 80%;">立即充值</button>
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				list:[]
			}
		},
		props:{
			sid:{
				type:String,
				default:""
			}
		},
		created() {
			this.getCharge()
		},
		methods:{
			getCharge() {
				this.$u.post('/index/recharge', {
					store_id:this.sid
				}).then(res => {
					this.list=res
				})
			}
			
		}
	}
</script>

<style>
</style>